﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NicoView.Model.Share.MediaEncoders
{
    public abstract class BroadcastMediaEncoderBase:IBroadcastMediaEncoder
    {
        private IBroadcastMediaEncoderProvider provider;

        protected BroadcastMediaEncoderBase(IBroadcastMediaEncoderProvider provider)
        {
            this.provider = provider;
        }


        public string Name
        {
            get
            {
                return this.provider.Name;
            }

        }

        public abstract void StartEncode(BroadcastMediaEncodeStartInfo startInfo);

        public abstract void Dispose();

        public abstract void StopEncode();


        public abstract bool IsEncoding { get; }
    }
}
